const lodash = require('lodash');
const faker = require('faker');
faker.locale = "zh_CN";
module.exports = function() {
    return {
        user: lodash.times(100, function() {
            return {
                name: faker.name.findName(),
                age: faker.random.number(),
                sex: faker.random.boolean(),
                Tel: faker.phone.phoneNumber(),
                QQ: faker.phone.phoneNumber(),
                Idcard: faker.phone.phoneNumber(),
                email: faker.internet.email(),
                address: faker.address.city(),
                hobby: faker.commerce.color(),
                education: faker.company.bs()
            };
        })
    }
}